package org.example;

import com.google.gson.internal.LinkedTreeMap;
import com.google.gson.reflect.TypeToken;
import org.junit.Test;
import org.my.stock.h2.MaiDian;
import org.my.stock.h2.MaiDian1;
import org.my.stock.model.MMaiDian;
import org.my.stock.util.MyUtil;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;

public class MyAlgorithmCase {

    public void toDb(final String line, String symbol) throws SQLException {
        Pattern pattern = Pattern.compile("\\(([^)]+)\\)");
        Matcher matcher = pattern.matcher(line);

        if (matcher.find()) {
            String result = matcher.group(1); // 获取第一个捕获组内容

            LinkedTreeMap m = MyUtil.getGson().fromJson(result, new TypeToken<LinkedTreeMap>() {}.getType());
            LinkedTreeMap data = (LinkedTreeMap) m.get("data");
            List klines = (List) data.get("klines");
            String name = (String) data.get("name");

            for (int i = klines.size() - 1; i >=  klines.size() - 20; i--) {
                //System.out.println(klines.get(i).toString());
                String dl = klines.get(i).toString();
                String[] vs = dl.split(",");
                //List mt = MyUtil.getGson().fromJson(klines.get(i).toString(), new TypeToken<List>() {}.getType());
//                if (hasUpdate(conn, symbol, vs[0]) == false) {
//                    //String sql = "insert into df_stock_date (symbol, price, main_fund, main_fund_bf, name, zhangdie, stock_date) values ('" + symbol + "', " + vs[11] + ", " + vs[1] + ", " + vs[6] + ", '" + name + "', " + vs[12] + ", '" + vs[0] + "')";
//                    //cache.query(new SqlFieldsQuery(sql)).getAll();
//                    // "2025-05-20,11.40,11.39,11.47,11.37,643635,734455265.82,0.88,0.18,0.02,0.33"
//                    updateDate(conn, symbol, vs[11], vs[1], vs[6], name, vs[12], vs[0]);
//                } else {
//                    break;
//                }
            }

            Hashtable<String, Integer> ht = new Hashtable<>();
            int index1 = 0;
            for (int i = klines.size() - 1; i >= 0; i--) {
                //System.out.println(klines.get(i).toString());
                String dl = klines.get(i).toString();
                String[] vs = dl.split(",");
                ht.put(vs[0], index1);
                index1++;
            }

            List<Object> lst = MaiDian.getData(klines);
            List<MMaiDian> lstmd = new ArrayList<>();

            List<Integer> rs = MaiDian1.get_low_ex(lst);
            for (Integer index : rs) {
                List<Object> row = (List<Object>)lst.get(index);
                //update_mai_dian(conn, symbol, row.get(11).toString(), row.get(0).toString());
                lstmd.add(new MMaiDian(symbol, row.get(11).toString(), false, row.get(0).toString()));
            }

            List<Integer> rs1 = MaiDian1.get_height_ex(lst);
            for (Integer index : rs1) {
                List<Object> row = (List<Object>)lst.get(index);
                //update_mai_dian_h(conn, symbol, row.get(11).toString(), row.get(0).toString());
                lstmd.add(new MMaiDian(symbol, row.get(11).toString(), true, row.get(0).toString()));
            }

            List<MMaiDian> lstmd_1 = lstmd.stream().sorted((a, b) -> {
                if (MyUtil.toDate(a.getStock_date()).compareTo(MyUtil.toDate(b.getStock_date())) > 0) {
                    return -1;
                }
                return 1;
            }).collect(Collectors.toList());

            lstmd_1.stream().forEach(m1 -> {
                System.out.println(m1.toString());
            });

            List<MMaiDian> lstmd_2 = rest(lstmd_1);
            System.out.println(lstmd_2);

            System.out.println(ht.get(lstmd_2.get(1).getStock_date()));
            System.out.println(ht.get(lstmd_2.get(0).getStock_date()));

            /**
             * 1、找出一个买点
             * */

        }
    }

    public MMaiDian frist(List<MMaiDian> lstmd) {
        if (!lstmd.isEmpty()) {
            return lstmd.get(0);
        }
        return null;
    }

    public List<MMaiDian> rest(List<MMaiDian> lstmd) {
        if (!lstmd.isEmpty()) {
            return lstmd.subList(1, lstmd.size());
        }
        return null;
    }

    public void mai_dian(Hashtable<String, Integer> ht, MMaiDian f, List<MMaiDian> lstmd_1) {
        if (f != null) {
            if (f.getH() == false) {
                MMaiDian m = frist(lstmd_1);
                if (m.getH() == true) {
                    if (ht.get(f.getStock_date()) - ht.get(m.getStock_date()) >= 5 && (Double.valueOf(f.getPrice()) / Double.valueOf(m.getPrice())) > 1.07D) {
                        System.out.println(f.getSymbol());
                    } else {
                        mai_dian(ht, f, rest(lstmd_1));
                    }
                } else {
                    mai_dian(ht, frist(lstmd_1), rest(lstmd_1));
                }
            }
        }
    }

    /**
     * 分析 孩子王
     * */
    @Test
    public void test_301078() throws SQLException {
        String code = "jQuery112308788068735906851_1744518781844({\"rc\":0,\"rt\":22,\"svr\":181669633,\"lt\":1,\"full\":0,\"dlmkts\":\"\",\"data\":{\"code\":\"301078\",\"market\":0,\"name\":\"孩子王\",\"klines\":[\"2025-01-17,-35184798.0,19768724.0,15416075.0,-55003595.0,19818797.0,-6.79,3.82,2.98,-10.62,3.83,12.20,-1.37,0.00,0.00\",\"2025-01-20,6819929.0,-13883367.0,7063438.0,1191672.0,5628257.0,0.98,-1.99,1.01,0.17,0.81,12.57,3.03,0.00,0.00\",\"2025-01-21,3187951.0,26500591.0,-29688543.0,-4431056.0,7619007.0,0.45,3.74,-4.20,-0.63,1.08,13.13,4.46,0.00,0.00\",\"2025-01-22,40288237.0,-29109050.0,-11179188.0,31882884.0,8405353.0,7.82,-5.65,-2.17,6.19,1.63,13.24,0.84,0.00,0.00\",\"2025-01-23,14463154.0,10172994.0,-24636150.0,23562943.0,-9099789.0,3.73,2.62,-6.35,6.07,-2.34,13.18,-0.45,0.00,0.00\",\"2025-01-24,-33704489.0,47099434.0,-13394944.0,-14364662.0,-19339827.0,-7.57,10.59,-3.01,-3.23,-4.35,13.27,0.68,0.00,0.00\",\"2025-01-27,-47445396.0,37955272.0,9490123.0,-4398433.0,-43046963.0,-14.30,11.44,2.86,-1.33,-12.97,12.76,-3.84,0.00,0.00\",\"2025-02-05,-43736915.0,50139890.0,-6402976.0,-11954988.0,-31781927.0,-13.70,15.71,-2.01,-3.74,-9.96,12.76,0.00,0.00,0.00\",\"2025-02-06,-58894054.0,60187982.0,-1293929.0,-36035883.0,-22858171.0,-14.65,14.97,-0.32,-8.97,-5.69,12.77,0.08,0.00,0.00\",\"2025-02-07,-13729441.0,21532458.0,-7803017.0,-20158065.0,6428624.0,-2.86,4.48,-1.62,-4.19,1.34,12.64,-1.02,0.00,0.00\",\"2025-02-10,63450475.0,-9095432.0,-54355048.0,3924977.0,59525498.0,9.39,-1.35,-8.04,0.58,8.81,13.15,4.03,0.00,0.00\",\"2025-02-11,-29002072.0,14776930.0,14225140.0,20264712.0,-49266784.0,-6.53,3.33,3.20,4.56,-11.09,12.76,-2.97,0.00,0.00\",\"2025-02-12,-2055055.0,12809277.0,-10754223.0,13538180.0,-15593235.0,-0.34,2.14,-1.79,2.26,-2.60,13.21,3.53,0.00,0.00\",\"2025-02-13,99086.0,-15921426.0,15822340.0,5557849.0,-5458763.0,0.02,-3.30,3.28,1.15,-1.13,13.03,-1.36,0.00,0.00\",\"2025-02-14,5270541.0,-14056672.0,8786132.0,11645578.0,-6375037.0,1.44,-3.85,2.40,3.19,-1.74,12.77,-2.00,0.00,0.00\",\"2025-02-17,13214534.0,-42286055.0,29071529.0,-13516482.0,26731016.0,1.69,-5.41,3.72,-1.73,3.42,13.43,5.17,0.00,0.00\",\"2025-02-18,21487595.0,-6013684.0,-15473910.0,30441364.0,-8953769.0,3.61,-1.01,-2.60,5.12,-1.51,12.84,-4.39,0.00,0.00\",\"2025-02-19,8869773.0,-40907213.0,32037441.0,26670618.0,-17800845.0,2.09,-9.63,7.54,6.28,-4.19,13.15,2.41,0.00,0.00\",\"2025-02-20,878227.0,18870468.0,-19748704.0,-48517430.0,49395657.0,0.09,2.01,-2.11,-5.18,5.27,14.20,7.98,0.00,0.00\",\"2025-02-21,35468406.0,-24737521.0,-10730885.0,-7951539.0,43419945.0,6.45,-4.50,-1.95,-1.45,7.89,14.36,1.13,0.00,0.00\",\"2025-02-24,-7412701.0,-13570005.0,20982706.0,16455899.0,-23868600.0,-1.12,-2.05,3.18,2.49,-3.61,14.19,-1.18,0.00,0.00\",\"2025-02-25,-48808508.0,24603414.0,24205094.0,16718690.0,-65527198.0,-6.51,3.28,3.23,2.23,-8.74,14.44,1.76,0.00,0.00\",\"2025-02-26,-30237788.0,4731613.0,25506176.0,11101154.0,-41338942.0,-5.24,0.82,4.42,1.92,-7.16,14.35,-0.62,0.00,0.00\",\"2025-02-27,7439600.0,16342894.0,-23782495.0,31184998.0,-23745398.0,1.25,2.75,-4.01,5.25,-4.00,14.73,2.65,0.00,0.00\",\"2025-02-28,18468645.0,-34206391.0,15737746.0,42333724.0,-23865079.0,3.47,-6.43,2.96,7.96,-4.48,14.14,-4.01,0.00,0.00\",\"2025-03-03,-35048022.0,21397001.0,13651021.0,-16544094.0,-18503928.0,-8.99,5.49,3.50,-4.24,-4.74,13.74,-2.83,0.00,0.00\",\"2025-03-04,25800014.0,10535677.0,-36335691.0,-5613751.0,31413765.0,4.85,1.98,-6.83,-1.06,5.91,14.00,1.89,0.00,0.00\",\"2025-03-05,-54052942.0,-21008848.0,75061792.0,22428448.0,-76481390.0,-5.08,-1.97,7.05,2.11,-7.18,14.95,6.79,0.00,0.00\",\"2025-03-06,-84041096.0,49808592.0,34232496.0,-11785632.0,-72255464.0,-6.21,3.68,2.53,-0.87,-5.34,14.95,0.00,0.00,0.00\",\"2025-03-07,99612564.0,-47652864.0,-51959696.0,84643744.0,14968820.0,6.78,-3.24,-3.54,5.76,1.02,15.91,6.42,0.00,0.00\",\"2025-03-10,9596860.0,-111745376.0,102148512.0,109172832.0,-99575972.0,0.67,-7.82,7.15,7.64,-6.97,14.63,-8.05,0.00,0.00\",\"2025-03-11,-5064210.0,6913215.0,-1849005.0,-30423259.0,25359049.0,-0.71,0.98,-0.26,-4.29,3.58,14.86,1.57,0.00,0.00\",\"2025-03-12,-83864513.0,33137454.0,50727060.0,-24507126.0,-59357387.0,-13.44,5.31,8.13,-3.93,-9.51,14.32,-3.63,0.00,0.00\",\"2025-03-13,-98698269.0,89799845.0,8898422.0,-47445686.0,-51252583.0,-13.80,12.56,1.24,-6.63,-7.17,13.41,-6.35,0.00,0.00\",\"2025-03-14,152340976.0,-69068955.0,-83272016.0,-66037200.0,218378176.0,7.18,-3.26,-3.93,-3.11,10.30,16.10,20.06,0.00,0.00\",\"2025-03-17,-731859056.0,388246192.0,343612848.0,-259768688.0,-472090368.0,-20.19,10.71,9.48,-7.17,-13.03,16.31,1.30,0.00,0.00\",\"2025-03-18,-242918720.0,157219456.0,85699280.0,-110377776.0,-132540944.0,-10.50,6.80,3.70,-4.77,-5.73,15.30,-6.19,0.00,0.00\",\"2025-03-19,-53901536.0,87219360.0,-33317840.0,-26994064.0,-26907472.0,-3.98,6.45,-2.46,-2.00,-1.99,14.80,-3.27,0.00,0.00\",\"2025-03-20,-29853198.0,4424288.0,25428928.0,-5151504.0,-24701694.0,-1.86,0.28,1.59,-0.32,-1.54,14.97,1.15,0.00,0.00\",\"2025-03-21,-143120064.0,102730698.0,40389360.0,-164854991.0,21734927.0,-12.14,8.72,3.43,-13.99,1.84,14.00,-6.48,0.00,0.00\",\"2025-03-24,-5592314.0,8530509.0,-2938192.0,-1279923.0,-4312391.0,-0.67,1.03,-0.35,-0.15,-0.52,14.22,1.57,0.00,0.00\",\"2025-03-25,-126571687.0,46391424.0,80180272.0,-58122496.0,-68449191.0,-8.31,3.05,5.27,-3.82,-4.50,14.41,1.34,0.00,0.00\",\"2025-03-26,-107116765.0,66464429.0,40652352.0,-45229296.0,-61887469.0,-10.89,6.76,4.13,-4.60,-6.29,13.97,-3.05,0.00,0.00\",\"2025-03-27,-82660891.0,72007529.0,10653362.0,-69340987.0,-13319904.0,-11.44,9.97,1.47,-9.60,-1.84,13.50,-3.36,0.00,0.00\",\"2025-03-28,-83750592.0,80603391.0,3147202.0,-49071288.0,-34679304.0,-12.63,12.15,0.47,-7.40,-5.23,13.04,-3.41,0.00,0.00\",\"2025-03-31,-61753870.0,101476087.0,-39722218.0,-4275988.0,-57477882.0,-7.19,11.82,-4.63,-0.50,-6.70,12.60,-3.37,0.00,0.00\",\"2025-04-01,-75379007.0,60657062.0,14721945.0,-61434489.0,-13944518.0,-15.89,12.78,3.10,-12.95,-2.94,12.32,-2.22,0.00,0.00\",\"2025-04-02,11755067.0,-7793679.0,-3961387.0,-5241758.0,16996825.0,3.19,-2.11,-1.07,-1.42,4.61,12.46,1.14,0.00,0.00\",\"2025-04-03,-15411874.0,18922209.0,-3510335.0,-10241957.0,-5169917.0,-2.98,3.66,-0.68,-1.98,-1.00,12.30,-1.28,0.00,0.00\",\"2025-04-07,-142094242.0,119855813.0,22238416.0,-63146830.0,-78947412.0,-14.00,11.81,2.19,-6.22,-7.78,10.07,-18.13,0.00,0.00\",\"2025-04-08,174638240.0,-50063641.0,-124574594.0,-65197315.0,239835555.0,16.27,-4.67,-11.61,-6.08,22.35,12.09,20.06,0.00,0.00\",\"2025-04-09,-40575622.0,7822176.0,32753456.0,61679104.0,-102254726.0,-1.94,0.37,1.57,2.95,-4.89,13.06,8.02,0.00,0.00\",\"2025-04-10,192725680.0,-84670288.0,-108055376.0,38122160.0,154603520.0,7.09,-3.11,-3.97,1.40,5.69,14.19,8.65,0.00,0.00\",\"2025-04-11,-174299813.0,170851024.0,3448800.0,-74342928.0,-99956885.0,-8.68,8.51,0.17,-3.70,-4.98,13.62,-4.02,0.00,0.00\",\"2025-04-14,30245144.0,-39381728.0,9136592.0,-9221584.0,39466728.0,1.59,-2.07,0.48,-0.49,2.08,13.99,2.72,0.00,0.00\",\"2025-04-15,-138363746.0,149329904.0,-10966160.0,-81209360.0,-57154386.0,-6.59,7.11,-0.52,-3.87,-2.72,13.80,-1.36,0.00,0.00\",\"2025-04-16,14178666.0,8496960.0,-22675632.0,11885840.0,2292826.0,1.03,0.62,-1.64,0.86,0.17,14.09,2.10,0.00,0.00\",\"2025-04-17,47065275.0,-22316736.0,-24748528.0,33188160.0,13877115.0,3.49,-1.66,-1.84,2.46,1.03,14.01,-0.57,0.00,0.00\",\"2025-04-18,-90564577.0,114591824.0,-24027232.0,-74904320.0,-15660257.0,-8.50,10.76,-2.26,-7.03,-1.47,13.56,-3.21,0.00,0.00\",\"2025-04-21,14167397.0,25133984.0,-39301360.0,-22280542.0,36447939.0,1.47,2.61,-4.09,-2.32,3.79,13.87,2.29,0.00,0.00\",\"2025-04-22,-77361994.0,16982160.0,60379840.0,-21446339.0,-55915655.0,-6.85,1.50,5.35,-1.90,-4.95,13.98,0.79,0.00,0.00\",\"2025-04-23,-30665489.0,27382416.0,3283072.0,-29016463.0,-1649026.0,-3.03,2.70,0.32,-2.86,-0.16,13.76,-1.57,0.00,0.00\",\"2025-04-24,41858118.0,-30464000.0,-11394112.0,19601616.0,22256502.0,3.48,-2.53,-0.95,1.63,1.85,13.79,0.22,0.00,0.00\",\"2025-04-25,-156042699.0,120559191.0,35483504.0,-80537364.0,-75505335.0,-16.96,13.10,3.86,-8.75,-8.21,13.40,-2.83,0.00,0.00\",\"2025-04-28,-89856545.0,95241454.0,-5384912.0,-35315840.0,-54540705.0,-10.46,11.08,-0.63,-4.11,-6.35,12.88,-3.88,0.00,0.00\",\"2025-04-29,-233327.0,12190890.0,-11957563.0,-184816.0,-48511.0,-0.05,2.77,-2.72,-0.04,-0.01,12.84,-0.31,0.00,0.00\",\"2025-04-30,-68158348.0,60774109.0,7384240.0,-43136752.0,-25021596.0,-11.49,10.24,1.24,-7.27,-4.22,12.68,-1.25,0.00,0.00\",\"2025-05-06,-5146347.0,10196505.0,-5050157.0,-9598871.0,4452524.0,-0.87,1.71,-0.85,-1.61,0.75,13.06,3.00,0.00,0.00\",\"2025-05-07,-34023595.0,34976294.0,-952694.0,-16224757.0,-17798838.0,-4.37,4.50,-0.12,-2.09,-2.29,12.79,-2.07,0.00,0.00\",\"2025-05-08,-6668300.0,-86494.0,6754794.0,-4726807.0,-1941493.0,-1.30,-0.02,1.32,-0.92,-0.38,12.90,0.86,0.00,0.00\",\"2025-05-09,-47791396.0,61818377.0,-14026981.0,-23966602.0,-23824794.0,-9.36,12.10,-2.75,-4.69,-4.66,12.43,-3.64,0.00,0.00\",\"2025-05-12,-19210354.0,24078182.0,-4867828.0,-5128803.0,-14081551.0,-4.77,5.98,-1.21,-1.27,-3.50,12.58,1.21,0.00,0.00\",\"2025-05-13,-28921670.0,30898843.0,-1977173.0,-26976921.0,-1944749.0,-6.08,6.50,-0.42,-5.67,-0.41,12.36,-1.75,0.00,0.00\",\"2025-05-14,-37071220.0,41024109.0,-3952889.0,-14751747.0,-22319473.0,-8.42,9.32,-0.90,-3.35,-5.07,12.32,-0.32,0.00,0.00\",\"2025-05-15,5427742.0,20924096.0,-26351837.0,10232390.0,-4804648.0,1.28,4.94,-6.22,2.41,-1.13,12.25,-0.57,0.00,0.00\",\"2025-05-16,129430773.0,-100424669.0,-29006110.0,76537206.0,52893567.0,17.10,-13.26,-3.83,10.11,6.99,12.64,3.18,0.00,0.00\",\"2025-05-19,115773758.0,-96756487.0,-19017264.0,59474785.0,56298973.0,10.92,-9.12,-1.79,5.61,5.31,13.11,3.72,0.00,0.00\",\"2025-05-20,262390709.0,-154436688.0,-107954032.0,92641632.0,169749077.0,16.09,-9.47,-6.62,5.68,10.41,14.03,7.02,0.00,0.00\",\"2025-05-21,-88530421.0,131086846.0,-42556448.0,-67815843.0,-20714578.0,-8.29,12.27,-3.98,-6.35,-1.94,13.75,-2.00,0.00,0.00\",\"2025-05-22,-29812234.0,37299559.0,-7487327.0,-17338308.0,-12473926.0,-4.10,5.13,-1.03,-2.39,-1.72,13.55,-1.45,0.00,0.00\",\"2025-05-23,-62324107.0,48842716.0,13481391.0,-8522757.0,-53801350.0,-10.79,8.45,2.33,-1.48,-9.31,13.18,-2.73,0.00,0.00\",\"2025-05-26,35319374.0,-27983229.0,-7336128.0,21708520.0,13610854.0,3.67,-2.91,-0.76,2.26,1.41,13.89,5.39,0.00,0.00\",\"2025-05-27,169075834.0,-133171344.0,-35904480.0,52004960.0,117070874.0,11.29,-8.89,-2.40,3.47,7.82,14.52,4.54,0.00,0.00\",\"2025-05-28,-33648708.0,31471609.0,2177088.0,5678271.0,-39326979.0,-3.53,3.30,0.23,0.60,-4.12,14.33,-1.31,0.00,0.00\",\"2025-05-29,1000838.0,-31623680.0,30622841.0,2239831.0,-1238993.0,0.13,-4.17,4.04,0.30,-0.16,14.20,-0.91,0.00,0.00\",\"2025-05-30,222986512.0,-166047856.0,-56938656.0,133111840.0,89874672.0,17.84,-13.28,-4.56,10.65,7.19,14.66,3.24,0.00,0.00\",\"2025-06-03,148002536.0,-128840448.0,-19162096.0,23427024.0,124575512.0,10.84,-9.43,-1.40,1.72,9.12,15.27,4.16,0.00,0.00\",\"2025-06-04,65937104.0,-69953706.0,4016608.0,61779504.0,4157600.0,4.78,-5.07,0.29,4.47,0.30,15.75,3.14,0.00,0.00\",\"2025-06-05,-223425802.0,178672112.0,44753696.0,-108104032.0,-115321770.0,-14.65,11.72,2.93,-7.09,-7.56,14.75,-6.35,0.00,0.00\",\"2025-06-06,49370197.0,-30528441.0,-18841760.0,44538730.0,4831467.0,5.19,-3.21,-1.98,4.68,0.51,14.86,0.75,0.00,0.00\",\"2025-06-09,-231302577.0,133322112.0,97980480.0,-40139664.0,-191162913.0,-15.91,9.17,6.74,-2.76,-13.15,13.92,-6.33,0.00,0.00\",\"2025-06-10,-19384361.0,-12453712.0,31838064.0,-16029949.0,-3354412.0,-1.86,-1.19,3.05,-1.54,-0.32,13.97,0.36,0.00,0.00\",\"2025-06-11,-66214416.0,59126183.0,7088232.0,-28116017.0,-38098399.0,-9.31,8.32,1.00,-3.95,-5.36,13.72,-1.79,0.00,0.00\",\"2025-06-12,-81906998.0,67259223.0,14647776.0,-42097563.0,-39809435.0,-15.71,12.90,2.81,-8.07,-7.64,13.69,-0.22,0.00,0.00\",\"2025-06-13,-104511335.0,101182618.0,3328713.0,-51330880.0,-53180455.0,-15.36,14.87,0.49,-7.54,-7.82,13.12,-4.16,0.00,0.00\",\"2025-06-16,1528786.0,13621144.0,-15149930.0,4067960.0,-2539174.0,0.36,3.18,-3.53,0.95,-0.59,13.39,2.06,0.00,0.00\",\"2025-06-17,25475009.0,-68065971.0,42590957.0,12246313.0,13228696.0,3.44,-9.20,5.75,1.65,1.79,13.47,0.60,0.00,0.00\",\"2025-06-18,-72753477.0,59997842.0,12755636.0,-48719220.0,-24034257.0,-12.86,10.61,2.26,-8.61,-4.25,12.91,-4.16,0.00,0.00\",\"2025-06-19,-76092994.0,92744628.0,-16651633.0,-30461057.0,-45631937.0,-18.73,22.83,-4.10,-7.50,-11.23,12.56,-2.71,0.00,0.00\",\"2025-06-20,-37587692.0,33904345.0,3683348.0,-25281657.0,-12306035.0,-13.47,12.15,1.32,-9.06,-4.41,12.39,-1.35,0.00,0.00\",\"2025-06-23,-25962560.0,14110687.0,11851874.0,-12348582.0,-13613978.0,-9.88,5.37,4.51,-4.70,-5.18,12.44,0.40,0.00,0.00\",\"2025-06-24,14370165.0,-16663848.0,2293683.0,-9441803.0,23811968.0,2.63,-3.05,0.42,-1.73,4.36,13.03,4.74,0.00,0.00\",\"2025-06-25,-4672502.0,16351165.0,-11678664.0,-16507162.0,11834660.0,-0.87,3.04,-2.17,-3.07,2.20,13.25,1.69,0.00,0.00\",\"2025-06-26,49902262.0,-44707363.0,-5194900.0,14798733.0,35103529.0,7.71,-6.91,-0.80,2.29,5.43,13.44,1.43,0.00,0.00\",\"2025-06-27,-14597746.0,16905014.0,-2307268.0,-4517758.0,-10079988.0,-2.67,3.10,-0.42,-0.83,-1.85,13.35,-0.67,0.00,0.00\",\"2025-06-30,-96551371.0,92079884.0,4471488.0,-39539238.0,-57012133.0,-18.83,17.96,0.87,-7.71,-11.12,13.07,-2.10,0.00,0.00\",\"2025-07-01,6051224.0,401054.0,-6452277.0,31731776.0,-25680552.0,0.99,0.07,-1.06,5.19,-4.20,13.25,1.38,0.00,0.00\",\"2025-07-02,-66461678.0,28156248.0,38305431.0,-55687661.0,-10774017.0,-9.89,4.19,5.70,-8.29,-1.60,13.30,0.38,0.00,0.00\",\"2025-07-03,-28753663.0,2036418.0,26717245.0,-23157929.0,-5595734.0,-3.61,0.26,3.36,-2.91,-0.70,13.60,2.26,0.00,0.00\",\"2025-07-04,-71616364.0,50910096.0,20706256.0,-29393060.0,-42223304.0,-8.60,6.11,2.49,-3.53,-5.07,13.35,-1.84,0.00,0.00\",\"2025-07-07,-82973312.0,77317092.0,5656221.0,-34738895.0,-48234417.0,-15.57,14.51,1.06,-6.52,-9.05,13.01,-2.55,0.00,0.00\",\"2025-07-08,-90393976.0,50847496.0,39546479.0,-10797068.0,-79596908.0,-18.17,10.22,7.95,-2.17,-16.00,13.05,0.31,0.00,0.00\",\"2025-07-09,-73291581.0,60809200.0,12482384.0,-40602672.0,-32688909.0,-5.70,4.73,0.97,-3.16,-2.54,13.20,1.15,0.00,0.00\",\"2025-07-10,-119989321.0,107853552.0,12135777.0,-59498464.0,-60490857.0,-16.02,14.40,1.62,-7.95,-8.08,12.82,-2.88,0.00,0.00\",\"2025-07-11,-81685966.0,83178180.0,-1492213.0,-32431686.0,-49254280.0,-15.83,16.12,-0.29,-6.28,-9.54,12.80,-0.16,0.00,0.00\",\"2025-07-14,-39566106.0,39142569.0,423539.0,-14887852.0,-24678254.0,-10.64,10.53,0.11,-4.00,-6.64,12.65,-1.17,0.00,0.00\",\"2025-07-15,-5493566.0,4652149.0,841417.0,-836034.0,-4657532.0,-1.65,1.40,0.25,-0.25,-1.40,12.74,0.71,0.00,0.00\",\"2025-07-16,-79186192.0,71192281.0,7993911.0,-7670168.0,-71516024.0,-20.40,18.34,2.06,-1.98,-18.42,12.61,-1.02,0.00,0.00\",\"2025-07-17,-12226543.0,10288708.0,1937836.0,-23192935.0,10966392.0,-3.13,2.63,0.50,-5.94,2.81,12.73,0.95,0.00,0.00\",\"2025-07-18,-29558541.0,30307740.0,-749199.0,-9676176.0,-19882365.0,-9.83,10.08,-0.25,-3.22,-6.61,12.64,-0.71,0.00,0.00\"]}});";
        toDb(code, "301078");
        System.out.println("吴大富！");
    }

}



















































































